<?php
namespace app\beautiful\model\order;
use app\beautiful\model\project\ProjectModel;
use app\common\model\CommonModel;
class CashierOrderProjectModel extends CommonModel{
    protected  $name = 'beautiful_cashier_order_projects';
    protected  $pk   = 'order_project_id';

    public function projects()
    {
        return $this->hasOne(ProjectModel::class,'project_id','project_id');
    }
}

